import React from 'react';
import { useSelector } from 'react-redux';
import { IAppState } from '../../types/store';
import Layout from './Layout';

const Home = () => {
  const state = useSelector((state: IAppState) => state);
  return (
    <Layout>
      Home
      {JSON.stringify(state)}
    </Layout>
  );
};

export default Home;
